<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			function Human(){
				this.foot=2;
				this.getFoot=function(){return this.foot;}
				this.sing=function(){
					return "呜呜哦";
				}
			}
			function Man(){
				this.head=1;
			}
			Man.prototype=new Human();
			Man.prototype.getHead=function(){
				return this.head;
			}
			/**Man.prototype.sing=function()
			{
				return "岛瑞米发骚拉稀";
			}*/
			var m=new Man();
			alert("脚："+m.getFoot()+",头："+m.getHead());
			alert("开始唱歌："+m.sing());
		</script>
	</head>
	<body>
	</body>
</html>
